package com.dhcy.mqtt.model;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;



@Data
@ApiModel(value="菜单实体类",reference ="菜单实体类" )
public class SysResource {
   @TableId(value = "id", type = IdType.AUTO)
   @ApiModelProperty(value="ID",dataType = "Integer ",example = "")
   private Integer id;
   @ApiModelProperty(value="资源名称",dataType = "String ",example = "")
   private String resuorceName;
   @ApiModelProperty(value="资源链接",dataType = "String ",example = "")
   private String linkUrl;
   @ApiModelProperty(value="资源类型",dataType = "Integer ",example = "")
   private Integer resourceType;
   @ApiModelProperty(value="权限字符串",dataType = "String ",example = "")
   private String resourceCode;
   @ApiModelProperty(value="父级ID",dataType = "Integer ",example = "")
   private Integer parentId;
   @ApiModelProperty(value="删除标志",dataType = "Integer ",example = "")
   private Integer delFlg;
   @ApiModelProperty(value="创建人",dataType = "String ",example = "")
   private String creater;
   @ApiModelProperty(value="创建时间",dataType = "Integer ",example = "")
   private Integer createTime;
   @ApiModelProperty(value="更新人",dataType = "String ",example = "")
   private String updator;
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
   @ApiModelProperty(value="更新时间",dataType = "Date ",example = "")
   private Date updateTime;
   @ApiModelProperty(value="排序",dataType = "Integer ",example = "")
   private Integer sort;
   @ApiModelProperty(value="图标",dataType = "String ",example = "")
   private String icon;

}
